package com.ws.q1.service;

import com.ws.q1.bean.User;

import java.util.List;


public interface UserService {
    User login(String name, String pass);

    int add(String name, String pass, String phone, String tou);


    Boolean isUsernameExists(String name);

    List<User> getUsersByName(String name);

    User huixian(Integer id);

    void xiugai(Integer id, User user);
}
